import { Injectable } from '@nestjs/common';
import { TypeOrmCrudService } from '@nestjsx/crud-typeorm';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { GoodsIssue } from '../../entities/goods_issue.entity ';

@Injectable()
export class GoodsIssueService extends TypeOrmCrudService<GoodsIssue>{
  constructor(
    @InjectRepository(GoodsIssue)
    private readonly repository: Repository<GoodsIssue>
  ){
    super(repository);
  }
}
